package com.tudulist.dao;

import java.io.Serializable;
import java.util.List;

import javax.persistence.NoResultException;

import com.tudulist.model.User;

public interface UserDao extends Serializable {
	public List<User> findAll();

	public User find(long id);

	public User find(String login) throws NoResultException;

	public void save(User user);

	public void remove(long id);
}
